package org.ahuanlien.crm.mapper;

import java.util.List;

import org.ahuanlien.crm.domain.TransferRecord;
import org.ahuanlien.crm.query.transferRecordQueryObject;

public interface TransferRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TransferRecord record);

    TransferRecord selectByPrimaryKey(Long id);

    List<TransferRecord> selectAll();

    int updateByPrimaryKey(TransferRecord record);

    /**
     * 客户移交记录列表
     * @param qo
     * @return
     */
    int queryForCount(transferRecordQueryObject qo);

    List<TransferRecord> queryForList(transferRecordQueryObject qo);
}